package com.swpu.service_sport.mapper;

import com.swpu.service_sport.entity.SportRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.swpu.service_sport.entity.vo.SportRecordVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chaichai
 * @since 2024-02-23
 */
@Mapper
public interface SportRecordMapper extends BaseMapper<SportRecord> {
    List<SportRecordVo> getUserSportRecordByDate(String openid, Date startDate,Date endDate);

}
